package org.ljdp.bootstrap.startup;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Shutdown extends Thread {
	private static final Logger logger = LoggerFactory.getLogger(Shutdown.class);
	
	private String appname;
	
	public Shutdown(String appname) {
		super();
		this.appname = appname;
	}

	@Override
	public void run() {
		try {
			Thread.sleep(2000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		logger.info("【"+appname+"】已关闭");
	}

}
